package com.amanda.sxy.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.amanda.sxy.dao.SongListDao;
import com.amanda.sxy.entity.SongList;
import com.amanda.sxy.service.SongListService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * 歌单 服务实现类
 * @author stone
 */
@Service
public class SongListServiceImpl extends ServiceImpl<SongListDao, SongList> implements SongListService {

    @Resource
    private SongListDao songListDao;

    @Override
    public Boolean insertSongList(SongList songList) {
        return songListDao.insert(songList)>0;
    }
}
